/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package MessageVariable;

import java.io.Serializable;
import java.security.Key;

/**
 *
 * @author LEHOANGKHANH
 */
public class ServerSign implements Serializable {
    private String ip = null;
    private int port;
    Key publicKeyRSA = null;
    Key publicKeySign = null;
    
    public ServerSign(String ip, int port) {
        this.ip = ip;
        this.port = port;
    }
    public ServerSign(String ip, int port, Key publickeyRSA, Key publickeysign) {
        this.ip = ip;
        this.port = port;
        this.publicKeyRSA = publickeyRSA;
        this.publicKeySign = publickeysign;
    }
    public String getIP() {
        return this.ip;
    }
    public int getPort() {
        return this.port;
    }
    public void setIP(String ip) {
        this.ip = ip;
    }
    public void setPort(int port){
        this.port = port;
    }
}
